package com.ant.storage.service;

import com.ant.storage.common.ResultPage;
import com.ant.storage.pojo.Allocation;
import com.ant.storage.common.PageRecv;
import com.ant.storage.common.ResultVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.taobao.api.ApiException;

public interface IAllocationService extends IService<Allocation>{
    //调拨审批添加
    void addAllocation(Allocation allocationWarehouseOut) throws NoSuchFieldException;
    //调拨审批更新
    ResultVo updateAllocation(Allocation allocationWarehouseOut) throws NoSuchFieldException;
    //发起调拨申请审批
    ResultVo addDingDing(Allocation allocationWarehouseOut) throws ApiException;
    //根据调拨单ID 查询详细信息
    ResultVo queryAllocationMessage(Integer allocation_warehouse_out_id);
    //调拨单查询
    ResultPage queryAllocation(PageRecv<Allocation> pageRecv);
    //调拨申请撤销
    ResultVo revokeAllocation(String process_instance_id) throws ApiException;

}
